package demo014;

import org.springframework.stereotype.Component;

@Component
public class Dog1 implements Rabbit{
    @Override
    public void hello() {
        System.out.println("小狗类");
    }
}
